home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- d37()
- end
-
- on rightMouseDown
- d37()
- end
-
- on mouseUp
- e37()
- end
-
- on rightMouseUp
- e37()
- end
-
- on e37
- global sprt, w, he, h
- if sprite sprt within (sprt - 20) then
- set the puppet of sprite sprt to 1
- set the visible of sprite sprt to 0
- set the puppet of sprite (sprt - 20) to 1
- set the puppet of sprite (sprt - 20) to 1
- set w to the width of sprite (sprt - 20)
- set he to the height of sprite (sprt - 20)
- set the width of sprite (sprt - 20) to w - 20
- set the height of sprite (sprt - 20) to he - 20
- set the puppet of sprite (sprt - 20) to 1
- set the visible of sprite (sprt - 20) to 1
- end if
- end
-
- on d37
- global sprt, horiz, verti
- set the locH of sprite sprt to horiz
- set the locV of sprite sprt to verti
- set sprt to 37
- set horiz to the locH of sprite sprt
- set verti to the locV of sprite sprt
- end
-